home *** CD-ROM | disk | FTP | other *** search
- IFF_ILBM.BAS Display an IFF picture on its own screen
- =====================================================
-
- This example shows the use of the IFFParse library to read an ILBM picture file
- and shows openning an appropriate screen and displaying it. This example
- "understands" about the new version 39 (Workbench 3) facilities and so will
- generate the correct, higher resolution, palette of AGA chipset machines
- whilst displaying older files appropriately.
-
- This example also shows use of the OtoTaglist program. This is provided ready to
- run in the Tools drawer and as source in Examples/OtoTaglist. OtoTaglist converts
- an assembly language linkable object file into a form that can be used directly
- from BASIC without the need to use a Linker. The file produced by OtoTaglist
- stores the machine code in an array and you can use CALL LOC to call this.
- The Unpackrow rouine used by this example is called in this way.
-
- The example will work on versions of Workbench 1.3 or later. There's a lot
- of conditional code that you may wish to remove if your program is only going
- to run under new versions of the operating system.
-
- Compiling
- ---------
- Load the iff_ilbm_inc.bh file and Tokenise it (Program-Tokenise), making
- sure you have no token file selected in the File Options (Settings-Compiler-
- Files). Once you have your token file, set the File Options-Token File setting
- to the iff_ilbm_inc.t file just created. Set up the command line via the
- Program->Arguments menu item to be the picture to display.
- Load the iff_ilbm.bas file, compile this, and run it.
-
- If you make changes to the UnPackRow.s file, you will need to assemble it
- to produce a linkable file UnPackRow.o with your assembler and then use
-
- OtoTaglist UnPackRow
-
- to re-convert UnPackRow.bas
-
-
-
-